﻿<%@ Page Language="VB" MasterPageFile="~/Presentation/MasterPage.master" AutoEventWireup="false" CodeFile="~/Code/ContactEntry.aspx.vb" Inherits="Presentation_ContactEntry" title="Untitled Page" %>
<%@ PreviousPageType VirtualPath="~/Presentation/ChangeDetails.aspx" %> 

<asp:Content ID="Content1" ContentPlaceHolderID="MainMaster" Runat="Server">

<form runat=server>
<table style="width: 83%; table-layout: auto; white-space: nowrap;" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 310px" bgcolor="#eff3fb">
                Contact Name</td>
            <td colspan="3" bgcolor="#eff3fb">
                <asp:TextBox ID="txtContactName" runat="server" Width="257px" MaxLength="100"></asp:TextBox></td>
            <td style="width: 99px" bgcolor="#eff3fb" nowrap="noWrap">
                <asp:RequiredFieldValidator ID="vdtxtContactName" runat="server"
                ControlToValidate="txtContactName" ErrorMessage="Enter the Contact Name" Width="171px"></asp:RequiredFieldValidator></td>
            <td style="width: 100px" bgcolor="#eff3fb">
            </td>
        </tr>
        <tr>
            <td style="width: 310px">
                Designation</td>
            <td colspan="3">
                <asp:TextBox ID="txtDesignation" runat="server" Width="257px" MaxLength="100"></asp:TextBox></td>
            <td style="width: 99px" nowrap="noWrap">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 310px" bgcolor="#eff3fb">
                Email</td>
            <td colspan="3" bgcolor="#eff3fb">
                <asp:TextBox ID="txtEmail" runat="server" Width="257px" MaxLength="100"></asp:TextBox></td>
            <td style="width: 99px" bgcolor="#eff3fb" nowrap="noWrap">
                <asp:RegularExpressionValidator ID="rvdtxtEmail" runat="server"
                ControlToValidate="txtEmail" ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" ErrorMessage="Enter a valid Email ID" Width="174px"></asp:RegularExpressionValidator></td>
            <td style="width: 100px" bgcolor="#eff3fb">
            </td>
        </tr>
        <tr>
            <td style="width: 310px">
                Telephone</td>
            <td colspan="3">
                <asp:TextBox ID="txtTelephone" runat="server" Width="257px" MaxLength="100"></asp:TextBox></td>
            <td colspan="2" nowrap="noWrap">
                <asp:CustomValidator ID="cvdtxtTelephone" runat="server"
                ValidateEmptyText=true ControlToValidate= "txtTelephone"
                OnServerValidate="Validate_TelEmail" ErrorMessage="Enter Email, Telephone, or Mobile"></asp:CustomValidator></td>
        </tr>
        <tr>
            <td style="width: 310px; height: 24px;" bgcolor="#eff3fb">
                Mobile</td>
            <td colspan="3" bgcolor="#eff3fb" style="height: 24px">
                <asp:TextBox ID="txtMobile" runat="server" Width="257px" MaxLength="100"></asp:TextBox></td>
            <td style="width: 99px; height: 24px;" bgcolor="#eff3fb" nowrap="noWrap">
            </td>
            <td style="width: 100px; height: 24px;" bgcolor="#eff3fb">
            </td>
        </tr>
    <tr>
        <td style="width: 310px; height: 6px">
            Enter Part of the&nbsp;company Name</td>
        <td colspan="4" style="height: 6px">
            <asp:TextBox ID="txtSearchName" runat="server" AutoPostBack="True"></asp:TextBox></td>
    </tr>
        <tr>
            <td style="width: 310px; height: 6px">
                Company</td>
            <td colspan="4" style="height: 6px">
                <asp:DropDownList ID="dlClientNames" runat="server">
                </asp:DropDownList><a href =CreateCompany.aspx>Click here</a>  if you don't see your company<asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="dlClientNames" InitialValue= "0" runat="server" ErrorMessage="Required"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 310px" bgcolor="#eff3fb">
                Decision Maker?</td>
            <td style="width: 100px" bgcolor="#eff3fb">
                <asp:CheckBox ID="cbDecision" runat="server" /></td>
            <td style="width: 100px; table-layout: auto;" bgcolor="#eff3fb">
            </td>
            <td style="width: 62px" bgcolor="#eff3fb">
            </td>
            <td style="width: 99px" bgcolor="#eff3fb" nowrap="noWrap">
            </td>
            <td style="width: 100px" bgcolor="#eff3fb">
            </td>
        </tr>
        <tr>
            <td style="width: 310px">
                <asp:Button ID="Button1" runat="server" Text="Submit" /></td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px; table-layout: auto;">
            </td>
            <td style="width: 62px">
            </td>
            <td style="width: 99px" nowrap="noWrap">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lblSuccess" runat="server" Font-Bold="True" Text="Label" Width="218px" Visible="False"></asp:Label></td>
            <td style="width: 100px; table-layout: auto;">
            </td>
            <td style="width: 62px">
            </td>
            <td style="width: 99px" nowrap="noWrap">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 310px">
            </td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px; table-layout: auto;">
            </td>
            <td style="width: 62px">
            </td>
            <td style="width: 99px" nowrap="noWrap">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
    
    <asp:HiddenField ID="PostBack" runat="server" />

</form>
    
    
</asp:Content>

